Is `xargs` the way to go with this problem?

Simply pipe the output into bash : ~/$ sed -r 's_. +_cp & ~/tmp/_' ~/tmp/my_file_list. Txt | bash.

Simply pipe the output into bash: ~/$ sed -r 's_. +_cp & ~/tmp/_' ~/tmp/my_file_list. Txt | bash.

I didn't know you could do that. Thanks. – Jamie Sep 23 at 19:36.

Although I see you've already gotten an answer that solves the copy-paste problem, I would actually suggest using rsync for this. The sequence would go as follows: ~/$ find . -name "*.

Ch" > ~/tmp/my_file_list. Txt To backup: ~/$ rsync --files-from=tmp/my_file_list. Txt .

Tmp/ Do whatever with the original files, then to restore: ~/$ rsync --files-from=tmp/my_file_list. Txt tmp/ . This has the (negligible) advantage of not copying files that you haven't modified, thus saving a bit of disk activity.It has the less negligible advantage that if you have multiple files with the same name in different directories, they won't clash because rsync preserves the relative paths.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions